<?
global $module;
$s = inc_incfile("$module/setup.php",$params);
$s = inc_incfile("{$s["module"]}/setup.php",$params);

echo "<p><a href=\"new/new.php\">Add a {$s["title"]}</a></p>";

global $db;

$p = array(
	"db"=>&$db,
	"fields"=>$s["fields"],
	"search"=>array("link","datetimeon","users_id"),
	"cols"=>array("link","datetimeon","users_id",),
	"orderby"=>"datetimeon",
	"orderdir"=>"desc",
	"table"=>$s["table"],
	"actions"=>array(
		"view"=>"%%/view.php",
		"edit"=>"%%/edit.php",
		"delete"=>"%%/delete.php",
		"docs"=>"%%/docs.php",
		),
	);
inc_incfile("list3.php",$p);
?>
